str1 = '{"site": [{"id": "1","name": "Baidu","url": "www.baidu.com"},' \
       '{"id": "2","name": "Taobao","url": "www.baidu.com"},' \
       '{"id": "3","name": "Google","url": "www.google.com"}]}'

print(type(str1))
print(type(eval(str1)))

import json

str2 = json.loads(str1)
print(type(str2))
print(str2)

str3 = json.dumps(str1)
print(type(str3))
print(str3)
